home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / sys60a.zip / SYS60A.DOC < prev    next >
Text File  |  1991-03-26  |  32KB  |  941 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                 TURBO PASCAL 6.0
  20.                                    SYS60A.TPU
  21.                                INSTALLATION GUIDE
  22.  
  23.                                   Version 6.0a
  24.                                  March 26, 1991
  25.  
  26.                Copyright (C) 1990-1991 Eagle Performance Software
  27.                               All Rights Reserved.
  28.  
  29.  
  30.  
  31.                                _______                     
  32.                           ____|__     |               (tm) 
  33.                        --|       |    |------------------- 
  34.                          |   ____|__  |  Association of    
  35.                          |  |       |_|  Shareware         
  36.                          |__|   o   |    Professionals     
  37.                        -----|   |   |--------------------- 
  38.                             |___|___|    MEMBER            
  39.  
  40.  
  41.    SYSTEM Unit                                Installation Guide, Version 6.0a
  42.  
  43.  
  44.  
  45.                        T A B L E   O F   C O N T E N T S
  46.  
  47.         1. INTRODUCTION  . . . . . . . . . . . . . . . . . . . . . 3
  48.              Features  . . . . . . . . . . . . . . . . . . . . . . 3
  49.              Philosophy  . . . . . . . . . . . . . . . . . . . . . 3
  50.              Licensing . . . . . . . . . . . . . . . . . . . . . . 3
  51.              Discounts . . . . . . . . . . . . . . . . . . . . . . 4
  52.              Customer Service  . . . . . . . . . . . . . . . . . . 4
  53.              ASP . . . . . . . . . . . . . . . . . . . . . . . . . 5
  54.  
  55.         2. GETTING STARTED . . . . . . . . . . . . . . . . . . . . 6
  56.              Distribution Files  . . . . . . . . . . . . . . . . . 6
  57.              Installation  . . . . . . . . . . . . . . . . . . . . 6
  58.  
  59.         3. PERFORMANCE . . . . . . . . . . . . . . . . . . . . . . 8
  60.              LongInt Math  . . . . . . . . . . . . . . . . . . . . 8
  61.              Decimal / String Conversions  . . . . . . . . . . . . 8
  62.              String handling . . . . . . . . . . . . . . . . . . . 8
  63.              Set Handling  . . . . . . . . . . . . . . . . . . . . 9
  64.              Other Improvements  . . . . . . . . . . . . . . . . . 9
  65.              Code Size . . . . . . . . . . . . . . . . . . . . . . 10
  66.              Greater Speeds  . . . . . . . . . . . . . . . . . . . 10
  67.  
  68.         4. SPEED TESTING . . . . . . . . . . . . . . . . . . . . . 11
  69.              Profiler  . . . . . . . . . . . . . . . . . . . . . . 11
  70.              Rate Timer  . . . . . . . . . . . . . . . . . . . . . 11
  71.  
  72.         APPENDIX A: Application Products . . . . . . . . . . . . . 13
  73.  
  74.         APPENDIX B: Revision History . . . . . . . . . . . . . . . 16
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.                                        2
  101.    SYSTEM Unit                                Installation Guide, Version 6.0a
  102.  
  103.  
  104.    1.  I N T R O D U C T I O N
  105.  
  106.  
  107.    FEATURES
  108.  
  109.    Welcome to SYS60 replacement unit for Turbo Pascal 6.0!
  110.  
  111.    How would you like to speed up your Turbo Pascal 6.0 programs without 
  112.    changing a single line of code?  You have just found the easiest way to do 
  113.    it!  SYS60 replaces the SYSTEM.TPU in your TURBO.TPL library with our unit 
  114.    which has much faster algorithms for over 32 built-in procedures and 
  115.    functions like Pos and Div.  See as much as 800% increase in speed!
  116.  
  117.    How can you do it?  Simply run a batch file to replace your SYSTEM.TPU.  
  118.    Then any program you compile will automatically have the faster algorithms 
  119.    - no code to change.  And you get the exact same results - only faster!
  120.    
  121.  
  122.    PHILOSOPHY
  123.  
  124.    The RTL - Borland has been gracious enough to make the Run-Time Library 
  125.    (RTL) assembler source code available to any user for their own 
  126.    modifications (for a license fee of $195).  There are six units specific to 
  127.    TP 6.0 in the RTL and the SYSTEM unit is by far the most significant.  But 
  128.    why would anyone want to take the time for a critical look at this 
  129.    fundamental code?  Most programmers are trying to stay busy and produce 
  130.    applications.  But after getting a copy for ourselves, we noticed that 
  131.    there were some ways that we could trim the amount of time that the CPU 
  132.    spends on a number of SYSTEM routines.  And if these routines can be sped 
  133.    up, then your overall applications can be sped up as well - without 
  134.    changing any of your source code.
  135.  
  136.    The Critical Look - We decided to take whatever time it took to go back 
  137.    over the SYSTEM unit to produce the fastest code possible.  Here are some 
  138.    of the things we considered:
  139.  
  140.      . Created 16-bit transfer methods in lieu of 8-bit.
  141.      . Replaced PUSH/POP with MOV.
  142.      . Combined register/flag operations.
  143.      . Reduced routine CALLs.
  144.      . Tightened clocks in intensive loops.
  145.      . Tested for CPU in use.
  146.      . Used CPU registers in lieu of stack.
  147.      . Used pass-through conditional jumps.
  148.      . Eliminated redundant jumps.
  149.  
  150.    In some routines, this would reduce the amount of code to achieve the same 
  151.    operation.  In others, a few extra bytes greatly increased the speed.  
  152.    SYS60 is the final result of this effort.
  153.  
  154.  
  155.    LICENSING
  156.  
  157.    Registration - These routines and the documentation have been released for 
  158.  
  159.  
  160.    Chapter 1, Introduction                                             Page 3
  161.    SYSTEM Unit                                Installation Guide, Version 6.0a
  162.  
  163.  
  164.    distribution as Shareware.  You have been given the chance to sample the 
  165.    full capability of SYS without risk!  If you find that SYS is a valuable 
  166.    tool, then you are expected to register.  You will find a reasonable 
  167.    licensing schedule found in LICENSE.LIC to meet private or commercial 
  168.    needs.
  169.  
  170.    Source Code - Due to Borland's License Agreement on the Run-Time 
  171.    Library (RTL), we are not authorized to release source code based on the 
  172.    RTL no matter what modifications we have made.  So, at the current time, 
  173.    the source code will not be available for release and will just be managed 
  174.    by Eagle Performance Software.  Please contacts us for the latest 
  175.    developments.
  176.  
  177.    Commercial Version - This may be our last shareware version.  Future 
  178.    versions will be sold commercially.
  179.  
  180.  
  181.    DISCOUNTS
  182.  
  183.    Should you register before June 31, 1991, you will be sent an even 
  184.    faster system unit than the one supplied in this archive.  Plus, you will 
  185.    get a 20% extra discount on our STRG61 string handling unit when you 
  186.    register at the same time.
  187.  
  188.  
  189.    CUSTOMER SERVICE
  190.  
  191.    If you have questions, comments, or suggestions, the Eagle can be contacted 
  192.    by four means - (1) telephone, (2) CompuServe, (3) The Eagle BBS, or 
  193.    (4) mail.
  194.  
  195.    Telephone - To contact the Eagle, you can reach us by phone at 
  196.    (214) 539-7855 on weekdays and Saturday from 9:00 a.m. to 7:00 p.m. CST.
  197.  
  198.    CompuServe - Another means is through CompuServe.  For personal contact, 
  199.    Jordan Gallagher [73557,2342] or Jim LeMay [76011,217] can be reached 
  200.    through CIS MAIL.
  201.  
  202.    The Eagle BBS - You can also contact us on our 24-hour BBS at (214) 539-
  203.    9878, at connections of 1200/2400/9600 MNP5/V.42bis N81.
  204.  
  205.    Mail - For registration or problems, please write:
  206.  
  207.        Eagle Performance Software
  208.        P.O. Box 292786
  209.        Lewisville, TX  75029-2786
  210.  
  211.    In your written request for resolving problems, be sure to include:
  212.  
  213.      . A diskette of compilable source code of the problem.
  214.      . The Eagle product and version number.
  215.      . The computer CPU.
  216.  
  217.  
  218.  
  219.  
  220.    Chapter 1, Introduction                                             Page 4
  221.    SYSTEM Unit                                Installation Guide, Version 6.0a
  222.  
  223.  
  224.    ASP
  225.  
  226.    SYS is a shareware program conforming to the standards of the Association 
  227.    of Shareware Professionals (ASP).  You can get more information about ASP 
  228.    by writing to:
  229.     
  230.      Association of Shareware Professionals
  231.      545 Grover Road
  232.      Muskegon, MI  49442
  233.  
  234.    This program is produced by a member of the Association of Shareware 
  235.    Professionals (ASP).  ASP wants to make sure that the shareware principle 
  236.    works fo